package com.robot.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

public enum KnowledgeTypeEnum  implements  BaseEnum{
    INDIVIDUAL(1, "个人"),
    ENTERPRISE(2, "企业"),
    BATCH_UPLOAD(3, "批量上传文件夹"),
    DARA_SOURCE(4,"组件数据源");

    private Integer value;
    private String descs;

    KnowledgeTypeEnum(int value, String descs) {
        this.value = value;
        this.descs = descs;
    }

    @Override
    public Integer getCode() {
        return value;
    }

    @Override
    public String getMessage() {
        return descs;
    }
}
